<HTML>
<HEAD>
<meta charset="UTF-8">
<title>DefaultAudioVideoFacade.addActiveSpeakerObserver - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.audiovideo</a>&nbsp;/&nbsp;<a href="index.html">DefaultAudioVideoFacade</a>&nbsp;/&nbsp;<a href="./add-active-speaker-observer.html">addActiveSpeakerObserver</a><br/>
<br/>
<h1>addActiveSpeakerObserver</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.audiovideo.DefaultAudioVideoFacade$addActiveSpeakerObserver(com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerpolicy.ActiveSpeakerPolicy, com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector.ActiveSpeakerObserver)"></a>
<code><span class="keyword">fun </span><span class="identifier">addActiveSpeakerObserver</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.DefaultAudioVideoFacade$addActiveSpeakerObserver(com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerpolicy.ActiveSpeakerPolicy, com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector.ActiveSpeakerObserver)/policy">policy</span><span class="symbol">:</span>&nbsp;<a href="../../com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerpolicy/-active-speaker-policy/index.html"><span class="identifier">ActiveSpeakerPolicy</span></a><span class="symbol">, </span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.DefaultAudioVideoFacade$addActiveSpeakerObserver(com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerpolicy.ActiveSpeakerPolicy, com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector.ActiveSpeakerObserver)/observer">observer</span><span class="symbol">:</span>&nbsp;<a href="../../com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector/-active-speaker-observer/index.html"><span class="identifier">ActiveSpeakerObserver</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Adds an active speaker observer along with a policy to calculate active speaker scores</p>
<h3>Parameters</h3>
<p><a name="policy"></a>
<code>policy</code> - : <a href="../../com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerpolicy/-active-speaker-policy/index.html">ActiveSpeakerPolicy</a>  - Lets you specify a policy to calculate active speaker scores</p>
<p><a name="observer"></a>
<code>observer</code> - : <a href="../../com.amazonaws.services.chime.sdk.meetings.audiovideo.audio.activespeakerdetector/-active-speaker-observer/index.html">ActiveSpeakerObserver</a> - Lets you specify an observer to active speaker updates</p>
</BODY>
</HTML>
